<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: reg_request.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('reg__request_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">reg_request.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Register request functions.  
<a href="#details">More...</a></p>

<p><a href="reg__request_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abb50aa7b7886a25addbf52063faa4abc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="reg__request_8c.html#abb50aa7b7886a25addbf52063faa4abc">ec_reg_request_init</a> (<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg, size_t size)</td></tr>
<tr class="memdesc:abb50aa7b7886a25addbf52063faa4abc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register request constructor.  <a href="#abb50aa7b7886a25addbf52063faa4abc">More...</a><br /></td></tr>
<tr class="separator:abb50aa7b7886a25addbf52063faa4abc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5a73a3a36f63ee80aeafacdb3c9e6d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="reg__request_8c.html#ab5a73a3a36f63ee80aeafacdb3c9e6d2">ec_reg_request_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg)</td></tr>
<tr class="memdesc:ab5a73a3a36f63ee80aeafacdb3c9e6d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register request destructor.  <a href="#ab5a73a3a36f63ee80aeafacdb3c9e6d2">More...</a><br /></td></tr>
<tr class="separator:ab5a73a3a36f63ee80aeafacdb3c9e6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecfbefc3410396bd5ca5f14c489ea838"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaecfbefc3410396bd5ca5f14c489ea838">ecrt_reg_request_data</a> (<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg)</td></tr>
<tr class="memdesc:gaecfbefc3410396bd5ca5f14c489ea838"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to the register request's data.  <a href="group__ApplicationInterface.html#gaecfbefc3410396bd5ca5f14c489ea838">More...</a><br /></td></tr>
<tr class="separator:gaecfbefc3410396bd5ca5f14c489ea838"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7fc3bbec83497a78b7b075e41eb26e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#gae94149f829f04960c62d63764a7779df">ec_request_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gac7fc3bbec83497a78b7b075e41eb26e4">ecrt_reg_request_state</a> (const <a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg)</td></tr>
<tr class="memdesc:gac7fc3bbec83497a78b7b075e41eb26e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current state of the register request.  <a href="group__ApplicationInterface.html#gac7fc3bbec83497a78b7b075e41eb26e4">More...</a><br /></td></tr>
<tr class="separator:gac7fc3bbec83497a78b7b075e41eb26e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c12de18886ffb7aaeb7ac364a7f2034"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga3c12de18886ffb7aaeb7ac364a7f2034">ecrt_reg_request_write</a> (<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg, uint16_t address, size_t size)</td></tr>
<tr class="memdesc:ga3c12de18886ffb7aaeb7ac364a7f2034"><td class="mdescLeft">&#160;</td><td class="mdescRight">Schedule an register write operation.  <a href="group__ApplicationInterface.html#ga3c12de18886ffb7aaeb7ac364a7f2034">More...</a><br /></td></tr>
<tr class="separator:ga3c12de18886ffb7aaeb7ac364a7f2034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8da153df44d98812c897c56cabe1e84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gad8da153df44d98812c897c56cabe1e84">ecrt_reg_request_read</a> (<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *reg, uint16_t address, size_t size)</td></tr>
<tr class="memdesc:gad8da153df44d98812c897c56cabe1e84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Schedule a register read operation.  <a href="group__ApplicationInterface.html#gad8da153df44d98812c897c56cabe1e84">More...</a><br /></td></tr>
<tr class="separator:gad8da153df44d98812c897c56cabe1e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Register request functions. </p>

<p class="definition">Definition in file <a class="el" href="reg__request_8c_source.html">reg_request.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="abb50aa7b7886a25addbf52063faa4abc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb50aa7b7886a25addbf52063faa4abc">&#9670;&nbsp;</a></span>ec_reg_request_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_reg_request_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register request constructor. </p>
<dl class="section return"><dt>Returns</dt><dd>Zero on success, otherwise a negative error code. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>Register request. </td></tr>
    <tr><td class="paramname">size</td><td>Memory size. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="reg__request_8c_source.html#l00048">48</a> of file <a class="el" href="reg__request_8c_source.html">reg_request.c</a>.</p>

</div>
</div>
<a id="ab5a73a3a36f63ee80aeafacdb3c9e6d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5a73a3a36f63ee80aeafacdb3c9e6d2">&#9670;&nbsp;</a></span>ec_reg_request_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_reg_request_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *&#160;</td>
          <td class="paramname"><em>reg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register request destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>Register request. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="reg__request_8c_source.html#l00072">72</a> of file <a class="el" href="reg__request_8c_source.html">reg_request.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="reg__request_8c.html">reg_request.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
